package com.crm.service;

import com.crm.entity.CrmRole;
import com.baomidou.mybatisplus.extension.service.IService;
import com.crm.vo.PageBean;
import com.crm.vo.SysRole;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author junxian,dou
 * @since 2024-11-27
 */
public interface ICrmRoleService extends IService<CrmRole> {

    PageBean<CrmRole> lsitPage(PageBean pageBean);

    void savaOrUpdateById(SysRole sysRole);

    CrmRole getCrmRole(Integer id);

    void removeWithByIds(List<Long> list);

    List<Integer> hasMenusList(Integer id);

    void updateMenus(Integer id, Integer[] menuIds);

}
